package com.sen.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sen.entity.ActivityEntity;
import com.sen.entity.DruginfoEntity;
import com.sen.entity.SellEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.awt.*;
import java.util.Date;
import java.util.List;

/**
 * 销售信息表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-08 17:54:40
 */
@Mapper
@Repository
public interface SellDao extends BaseMapper<SellEntity> {

    ActivityEntity getactivity();

    ActivityEntity getvip();

    void addOrder(@Param("sid") String sid, @Param("drugs") DruginfoEntity drugs);

    List<SellEntity> selectAllSellinfo(String sid);
}
